00:00.15 | jasonb | Still, there doesn't seem to be many IRC users from there (or even regular net/email users from what I've seen). |
00:00.41 | lyken | i see a few in the shady parts of the net where i also frequent :0 |
00:00.52 | jasonb | heh! |
00:26.44 | bugfixer | 1 |
00:47.54 | *** join/#tomcat zammster (~n_zambo@h75.214.40.69.ip.alltel.net) |
00:48.04 | zammster | hey all |
00:48.59 | zammster | anyone know where I can download the compatibility package to use 1.4 java for tomcat 5.0? |
00:59.37 | *** join/#tomcat iq (~iq@65-103-166-184.omah.qwest.net) |
02:00.54 | *** join/#tomcat ph0enix (~phoenix@201.3.142.84) |
02:03.44 | *** join/#tomcat iq[laptop] (~iq@65-103-166-184.omah.qwest.net) |
02:09.21 | *** part/#tomcat nullmonkey (~Administr@x84-100-200-dhcp.reshalls.umn.edu) |
02:18.16 | *** join/#tomcat ohsix (ohsix@bc111222.bendcable.com) |
02:28.21 | *** join/#tomcat ohsix (ohsix@bc111222.bendcable.com) |
02:56.06 | *** join/#tomcat e (~awaludin@jtkgw.polban.ac.id) |
02:56.51 | *** join/#tomcat gw24 (gw@d226-29-62.home.cgocable.net) |
02:57.40 | gw24 | when working with beans do you have to say package.class, cant u just say class"classname" ?? |
03:09.32 | gw24 | hello..? |
03:13.35 | *** join/#tomcat azza_ (~azza@elusive.ardec.com.au) |
03:14.38 | azza_ | hey all, Im trying to get the http non-ssl and jk connector working together. It doesnt look like I can run them at the same time... do I need to create two services to provide two engines? |
03:16.54 | *** join/#tomcat gw24 (gw@d226-29-62.home.cgocable.net) |
03:19.23 | azza_ | does anyone talk in this chan? |
03:20.27 | gw24 | thank god someones here!! |
03:20.28 | azza_ | The only components that may be nested inside a Service element are one or more Connector elements, followed by exactly one Engine element. |
03:20.36 | azza_ | I got my answer |
03:20.50 | gw24 | azza_ may i private msg you? my problem is trivial im sure! |
03:21.06 | azza_ | gw24 i think they're all dead... |
03:25.36 | gw24 | hello?? |
03:27.47 | *** join/#tomcat gw25 (gw@d226-29-62.home.cgocable.net) |
03:28.29 | gw25 | do i need to edit web.xml to run my beans method? |
03:29.43 | azza_ | ok.. |
03:30.11 | azza_ | so... you will need either a jsp or a servlet to invoke the bean method |
03:30.25 | azza_ | a jsp is easier.... if this is just for testing |
03:30.37 | azza_ | Im off to lunch. sorry dude bloody hungry! |
03:30.42 | azza_ | back in an hour |
03:31.25 | gw25 | ah |
03:31.27 | gw25 | enjoy man |
03:31.36 | azza_ | if you use a jsp you wont need to edit the web.xml, servlets require a url mapping and hence web.xml entry |
03:31.37 | gw25 | i may turn mad by the time u come back :) |
03:31.50 | *** join/#tomcat bpalmer (~user@eddore.NMSU.Edu) |
03:32.02 | azza_ | heehehehe, just put a test.jsp in the webapp root. |
03:32.09 | gw25 | azza_ http://www.rafb.net/paste/results/OM8y8661.html |
03:32.27 | gw25 | my prova.class is in C:\Tomcat\webapps\ROOT\490\WEB-INF\classes\test |
03:32.41 | gw25 | and test.jsp is in C:\Tomcat\webapps\ROOT\490 |
03:33.13 | gw25 | but it still says org.apache.jasper.JasperException: /490/test.jsp(1,1) The value for the useBean class attribute test.prova is invalid. |
03:33.18 | azza_ | try test.Prova |
03:33.26 | azza_ | should use caps for class names |
03:33.38 | azza_ | back 1hr |
03:34.29 | gw25 | alrigh, thanks anyways |
03:34.41 | gw25 | bpalmer familiar with beans? |
03:35.13 | bpalmer | not in any deep sense |
03:35.35 | gw25 | ya me neither im just trying to run a simple beanmethd which basically does nothing |
03:35.39 | lyken | so long as they are sealizable |
03:35.43 | lyken | they be all good |
03:35.51 | gw25 | but tomcat keeps saying The value for the useBean class attribute test.prova is invalid. |
03:35.54 | lyken | serializable... |
03:36.01 | gw25 | lyken serializable whats that for? |
03:36.07 | lyken | so they are session safe |
03:36.33 | gw25 | oh |
03:36.37 | lyken | and so you can write them out to file and then re-instantiate |
03:37.05 | lyken | you have setter and gettters for each value you want to store in that bean |
03:37.57 | gw25 | im using the bean to just write to the serial port |
03:38.42 | lyken | intersting use of a bean.. |
03:38.47 | lyken | no idea why you would do that.. |
03:38.56 | lyken | *shrugs* |
03:39.37 | gw25 | my friend told me thats a way to call methods from jsp |
03:40.02 | lyken | arh |
03:40.14 | gw25 | is there a simpler method? |
03:41.17 | lyken | use a light weigh communication protocol and write a server app talking to the serial port, and write jsp to send commands to that server.. |
03:41.23 | lyken | that isnt really easier |
03:41.28 | lyken | but is a lot safer |
03:41.47 | lyken | i have a meeting now, i must go |
03:42.19 | gw25 | thanks lyken :) |
04:40.56 | *** join/#tomcat gw24 (gw@d226-29-62.home.cgocable.net) |
05:14.01 | *** join/#tomcat Twi (~Twi_Lapto@msgext.cmc.optus.net.au) |
05:21.39 | *** join/#tomcat simplebird (~lind@user-12ldaq6.cable.mindspring.com) |
05:32.53 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
05:40.40 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
05:44.28 | azza_ | hey guys, how do the engines work in tomcat. I need to run AJP(8009) and nonSSL(8080). Apparently I need two services. Is this true? |
05:48.01 | azza_ | ok then.... anyone know how a second service would work? |
05:50.50 | *** join/#tomcat valmont (~chrisholl@lsanca1-ar8-4-43-221-040.lsanca1.elnk.dsl.genuity.net) |
06:11.28 | azza_ | is there a new role besides manager for the tomcat admin console.. I added role=manager and gave it to a user. and it wont work! |
06:39.03 | jasonb | http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html |
06:42.08 | *** join/#tomcat gw24 (gw@d226-29-62.home.cgocable.net) |
07:12.34 | *** join/#tomcat Valentin- (~jhiemer@62.40.10.39) |
07:14.38 | *** join/#tomcat linuxfreck (~freck@p5492A7DD.dip0.t-ipconnect.de) |
07:15.04 | *** join/#tomcat Valentin- (~jhiemer@62.40.10.39) |
07:17.53 | gw24 | anyone know how to deal with this error: "The value for the useBean class attribute kuss.Write is invalid" |
07:18.55 | azza_ | jasonb thanks... I figured as much :) but thanks for th help |
07:19.28 | azza_ | gw24 no sorry :( |
07:19.48 | azza_ | anyone know how to set up more than one service on tomcat? |
07:20.05 | gw24 | azza_ no sorry :( |
07:26.48 | bpalmer | I bet it should have been kuss.write |
07:28.21 | azza_ | tgif! |
07:28.37 | azza_ | I WANT BEER!!!!! Mmmmm BEER |
07:37.35 | azza_ | you people are far to quiet |
07:38.31 | lyken | you have no idea |
07:45.21 | azza_ | teh heehhe |
07:45.38 | azza_ | lyken, you know how to run two engines on tomcat? |
07:45.48 | lyken | you mean two tomcats? |
07:46.01 | lyken | not sure what you mean by engine.. |
07:47.14 | bpalmer | I think azza_ is talking about two <Engine> bits in server.xml |
07:47.48 | bpalmer | but looking up, it seems he wants simply an AJP listening to Apache, and tomcat by itself listening to port 8080 |
07:48.00 | bpalmer | which I think is doable with just two <Connector> definitions in the server.xml |
07:49.17 | bpalmer | (but I haven't done anything with AJP in a long time, so I'm certainly not gospel) |
07:53.04 | azza_ | bpalmer yes yes yes! |
07:53.49 | azza_ | thats exactly what I want to do... I can run the AJP port:8009 and I can also run non-SSL(http):8080. But I cant run them at the same time :( |
07:54.04 | lyken | im not sure if tomcat likes doing that |
07:54.21 | azza_ | I need the AJP engine to run, or session affiinity doesnt work |
07:56.26 | linuxfreck | the default config of tomcat 5 has both http and ajp configured... |
08:02.10 | azza_ | linuxfreck, yes but you need to change the engine... |
08:02.25 | azza_ | I had to replace <Engine name="Catalina" defaultHost="localhost"> |
08:02.47 | azza_ | with <Engine name="Standalone" defaultHost="localhost" jvmRoute="the.host.name"> |
08:02.49 | lyken | what engine do you want to rung.. |
08:03.43 | azza_ | when I run the Standalone, it allows session affinity. The Catalina engine doesnt... so when I hit my loadbalancer I randomly pick tomcats and loose my session |
08:05.00 | linuxfreck | the name attribute is just a name, nothing else |
08:05.25 | linuxfreck | which error messages do you get when trying to configure both connectors? |
08:07.11 | azza_ | I can run both.... but it wont maintain the session affinity. This is something I need :( Then if I replace the engine it keeps session affinity... but disables the 8080 |
08:08.22 | linuxfreck | session affinity has to be done at the load balancing stage |
08:08.38 | azza_ | ok, so if name makes no diff, then the only difference is the jvmRoute attribute |
08:08.47 | linuxfreck | if you use jk load balancing, you may need to add the jvmRoute attribute |
08:08.51 | linuxfreck | yes |
08:09.10 | linuxfreck | and if adding jvmRoute doesn't work, you should get an error message |
08:09.31 | azza_ | ok... I'll try it. |
08:12.46 | *** join/#tomcat noodl (hidden-use@195-97-225-122.onyx.net) |
08:14.00 | azza_ | linuxfreck.... I love you! |
08:14.18 | azza_ | I dont know what in the Catalina Engine.... but it works! |
08:14.29 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
08:14.30 | azza_ | Thats the last problem on my farm... thanks guys! |
08:14.35 | azza_ | MANY TAHNKS! |
08:15.59 | linuxfreck | you always solve the next to last problem... :) |
08:16.58 | azza_ | now its just code..... ahhhh only code... it can never go wrong |
08:18.13 | azza_ | this was all for a linux/tomcat server farm. pretty sweet stuff.... now I must loadbalance apache's :) |
08:20.31 | *** join/#tomcat gw25 (gw@d226-29-62.home.cgocable.net) |
08:20.57 | linuxfreck | azza_: which load balancing software/hardware do you use? |
08:21.18 | azza_ | the loadbalancing is all software |
08:21.37 | azza_ | we cant afford an switch... they are big $$$$'s! |
08:22.07 | lyken | a swtich? |
08:22.12 | lyken | like network switch.. |
08:22.47 | azza_ | and the name doesnt matter... in a scense... but since all my config was in Catalina/conf ... the alternate name attempted to load another (not working) conf. That explains my problem |
08:23.14 | azza_ | Alton Switch.... Big $$$'s |
08:23.23 | gw25 | why cant you have static variables in jsp? |
08:23.50 | bpalmer | what do you mean, static variables? |
08:23.51 | azza_ | gw25 because no one can call them.... the jsp is not an object |
08:23.58 | bpalmer | static in what context? |
08:24.27 | azza_ | gw25 just a suggestion efnet #java |
08:24.33 | gw25 | <% static variable b %> |
08:25.16 | bpalmer | the JSP gets turned into a class, though. Hmm. |
08:25.28 | lyken | why would you want a static? |
08:26.07 | gw25 | i have different try and catch blocks trying to use a static object |
08:26.21 | gw25 | otherwise i have to move the object into the catch block and merge them all |
08:26.39 | linuxfreck | gw25: <%! static int foo; %> should work |
08:26.54 | linuxfreck | the <% %> is turned into code within a method |
08:27.03 | linuxfreck | <%! %> is outside of the method |
08:27.44 | linuxfreck | most of the times you don't want to have static variables at all though |
08:28.01 | lyken | no |
08:28.40 | linuxfreck | no? |
08:32.50 | lyken | as in no you dont :) |
08:32.54 | lyken | i was agreeing :) |
08:36.46 | azza_ | ok, guys, my work day is over! linuxfreck thanks v much. ciao |
09:17.14 | lilalinux | does anybody know a good jsp editor plugin for eclipse? |
09:18.17 | ps` | lilalinux: Lomboz or WTP perhaps? |
09:18.50 | ps` | WTP requires Eclipse > 3.0 though |
09:19.09 | lilalinux | I have 3.0 |
09:19.15 | lilalinux | which is better? |
09:19.29 | ps` | Lomboz is what i have used for some time |
09:19.44 | lilalinux | thx |
09:20.02 | ps` | just make sure to read the documentation so that your pre configuration is set correctl, otherwise the jsp editor might show some strange behaviour |
09:20.19 | ps` | configuration in Eclipse that is :) |
09:32.23 | *** join/#tomcat oesriram (~sriram@203.193.165.130) |
09:32.45 | *** part/#tomcat oesriram (~sriram@203.193.165.130) |
09:38.14 | Valentin- | lilalinux WTP is much better |
10:20.33 | kiorky | have someone ever hear about eXo platform |
10:26.45 | ps` | WTP requires Eclipse 3.1 |
10:27.49 | ps` | I tried it yesterday, all i got was a lot of error messages unfortunately. |
10:29.54 | Valentin- | ps` then you forgot to install the requirements |
10:31.05 | ps` | No i installed all requirements, all views/perspectives etc installed just fine. But when i tried creating a new J2EE nothing worked. |
10:32.06 | Valentin- | okay which eclipse version did you take? |
10:33.24 | ps` | 3.1M6 |
10:34.27 | ps` | i guess the platform i'm using is not the most frequent one.. that might be why (eclipse-SDK-3.1M6-solaris-gtk.tar.gz ) |
10:34.49 | Valentin- | then you didn't install the requirements |
10:35.02 | Valentin- | http://download.eclipse.org/webtools/downloads/drops/S-1.0M3-200502260707/index.html <- everything you need |
10:37.00 | ps` | So WTP does not work with Eclipse3.1M6 ? |
10:37.07 | Valentin- | I am not sure |
10:37.44 | Valentin- | but I heard no comments about J2EEProject WIzard problems with the current version |
10:38.02 | Valentin- | which is nearly working perfectly |
10:38.39 | ps` | seems like that could be the problem then.. perhaps some api changes between M5 and M6 then. |
10:39.18 | Valentin- | perhaps |
10:40.07 | ilyak | hi all again! |
10:41.07 | ilyak | In Resin there is a <welcome-file-list> directive |
10:41.41 | ilyak | that lists files that should be given out if client requested directory. |
10:41.41 | Valentin- | ilyak perhaps |
10:41.48 | Valentin- | :) |
10:41.50 | ilyak | How would i make same thing in tomcat? |
10:42.19 | ilyak | I.e. if client wants /somedir/ give him /somedir/index.khtml |
10:42.23 | ilyak | for all dirs |
10:42.24 | Valentin- | connected with a java project or just tomecat? |
10:42.49 | ilyak | Valentin-: ? Don't understand. I need to make this work in tomcat. |
10:43.09 | Valentin- | ilyak: defined globally for tomcat? |
10:43.21 | ilyak | Valentin-: for one web app |
10:43.27 | ilyak | preferabely |
10:43.40 | Valentin- | web.xml |
10:43.48 | Valentin- | of your web project |
10:43.51 | ilyak | i know, but how would i do that? |
10:43.56 | Valentin- | NOT tomcat |
10:44.03 | ilyak | Valentin-: i understand |
10:44.12 | Valentin- | okay :) |
10:44.20 | ilyak | but i don't see how exactly i map all /'s to , say, /index.khtml's |
10:44.21 | Valentin- | and what you don't understand? |
10:44.54 | ilyak | What servlet-mapping or anything else should i write down there. To make this working. |
10:45.59 | Valentin- | like all mvc are doing it |
10:46.11 | linuxfreck | ilyak: web.xml works the same in tomcat and in resin |
10:46.18 | linuxfreck | it's standardized by sun |
10:46.26 | linuxfreck | mostly at least :) |
10:46.34 | ilyak | linuxfreck: no, resin's one has a lot of extensions |
10:46.43 | ilyak | like <welcome-file-list> which i'm missing |
10:46.59 | ilyak | Valentin-: i know how struts, for example, map themselves. |
10:47.25 | ilyak | But i don't really want to change code to make this just work. Is it possible? |
10:47.37 | linuxfreck | I thought that tomcat does have welcome-file-list |
10:48.49 | ilyak | linuxfreck: but is it possible to emulate its behavior? |
10:48.51 | ilyak | Some way? |
10:49.45 | linuxfreck | at least tomcat 5 _does_ have it |
10:50.12 | linuxfreck | like <welcome-file-list><welcome-file>index.khtml</welcome-file></welcome-file-list> |
10:50.20 | Valentin- | linuxfreck I think he doesn't mean a tomcat feature instead he wants a redirect |
10:50.33 | Valentin- | trough his web project web.xml file |
10:50.45 | ilyak | linuxfreck: wow! I would use that |
10:51.03 | ilyak | what exactly part of doc is about that? |
10:51.14 | ilyak | ('cause tomcat's doc is a nightmare) |
10:52.45 | linuxfreck | somwhere in the servlet documentation from sun I assume |
10:53.37 | ilyak | OK. |
10:58.12 | ilyak | How would web.xml documentation be called? |
10:58.12 | ilyak | sun' |
10:58.19 | ilyak | sun's site is a nightmare too |
11:01.29 | ilyak | only caucho's one have sensible docs |
11:01.36 | ilyak | that are not years to find what you need |
11:06.17 | *** join/#tomcat _Lion (~l@abi187.abisoft.spb.ru) |
11:10.23 | *** join/#tomcat Lion__ (~Lion@abi187.abisoft.spb.ru) |
12:03.51 | *** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net) |
12:04.46 | loquace | lo |
12:41.16 | *** join/#tomcat a4akb (bbwpleaser@as5-68.qualitynet.net) |
13:20.48 | *** part/#tomcat a4akb (bbwpleaser@as5-68.qualitynet.net) |
13:31.22 | *** join/#tomcat Alexys (~Alexys@201.245.131.106) |
14:49.27 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
15:16.19 | *** join/#tomcat viy (~viy@shield.pirmabanka.lv) |
15:16.35 | viy | hi there |
15:17.00 | linuxfreck | hi |
15:17.50 | viy | gotta question on SSL intermediate certificate config (i'm using 5.0). the problem is --- all browser don't recognize my server's cert, while in Apache everything works good |
15:37.39 | *** join/#tomcat JeyK (user@c-67-174-156-60.hsd1.ca.comcast.net) |
15:39.21 | JeyK | hi, I'm running a servlet using the invoker servlet, but my servlet depends on some things in an external jar file. how do i specify my servlet's classpath? |
15:43.02 | JeyK | or at least, where should i be looking? i couldn't find the info in the docs when i looked |
15:54.54 | *** part/#tomcat viy (~viy@shield.pirmabanka.lv) |
16:04.36 | *** join/#tomcat eidolon (~eido@seawall.homeport.org) |
16:05.13 | eidolon | is there a standard tag library to access ejb's from jsp? something that basically lets me go "here's the home, here's the jndi name, go?" |
16:17.46 | *** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net) |
16:45.37 | lilalinux | How can I convert the string foo.bar.foobar@1e514a9 to an object? |
16:48.02 | eidolon | a String is an object. |
16:48.51 | lilalinux | in this case it shall be a reference to a foobar object. |
16:52.31 | lilalinux | Ok, lets try the other way around |
16:52.57 | lilalinux | How can I pass a reference to an object inside via a link? |
17:13.17 | *** join/#tomcat parn_ (~parn@150.255.76.83.cust.bluewin.ch) |
17:13.22 | parn_ | hi all |
17:13.46 | parn_ | who is the founder from the jakarta project or the server ? |
17:14.03 | *** join/#tomcat mix[off] (~mix@018.catv238.hzb01.lan.ch) |
17:14.07 | parn_ | hi mix[off] |
17:14.10 | mix[off] | hi |
17:22.06 | *** join/#tomcat shadewind (~shadewind@62.119.213.116) |
17:22.23 | shadewind | does the tomcat bin have any deps? |
17:24.11 | *** part/#tomcat mix- (~mix@018.catv238.hzb01.lan.ch) |
17:36.24 | *** join/#tomcat linuxfreck (~freck@p5492A7DD.dip0.t-ipconnect.de) |
17:58.15 | *** join/#tomcat ki (~ki@62.206.176.98) |
18:06.41 | *** join/#tomcat shadewind (~shadewind@62.119.215.0) |
18:10.36 | loquace | ++ |
18:15.50 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
18:20.56 | *** join/#tomcat loz-- (~loz--@81-179-83-132.dsl.pipex.com) |
18:28.05 | *** join/#tomcat Niko_K (Niko_K@M346P022.adsl.highway.telekom.at) |
19:12.23 | *** join/#tomcat deRost (~deRost@054.209-89-66-0.interbaun.com) |
19:19.58 | *** join/#tomcat Marv|LG (~marv@adsl-69-233-55-81.dsl.pltn13.pacbell.net) |
19:24.15 | deRost | n00b question: Ive searched google for install guides for tomcat, and they are all either really old, really brief (nothing specific about them at all), or they focus on Windows or RedHat. Can someone point me in a direction for a debian guide thats up to date? I'd like to install Tomcat5 with Apache2 on my Mepis box. |
19:25.31 | *** join/#tomcat javaman (~jolson@24.247.46.62.static.up.mi.chartermi.net) |
19:25.54 | javaman | for some reason i'm able to get a directory listing of :8080/mydir/WEB-INF/ |
19:25.58 | javaman | anyone have any ideas why? |
19:26.09 | linuxfreck | get the distribution from jakarta.apache.org and install it in a directory of your choice. and don't use apache2 as frontend webserver unless you really have to |
19:26.49 | javaman | that's probably my problem them, apache2 |
19:26.55 | javaman | I really have to use it. |
19:28.55 | linuxfreck | well I don't know any good howto myself, documentation is one of the major issues wrt the apache jakarta project |
19:29.44 | jasonb | deRost: To my knowledge there is no such document, mainly because Debian users deemed Java to be too non-free, and have mainly just shunned it. So, no docs for debian. |
19:30.04 | Marv|LG | ummm tomcat docs are really good |
19:30.30 | jasonb | The Jakarta Tomcat docs are decent, but they're not debian specific. |
19:30.55 | Marv|LG | do not use debian then ;) |
19:31.02 | jasonb | Exactly! |
19:31.08 | javaman | either way, WEB-INF/ should not load |
19:31.30 | linuxfreck | I'd like to have more examples or introductory guides though |
19:31.35 | Marv|LG | are you using a default install javaman |
19:31.38 | javaman | yes |
19:31.45 | Marv|LG | which tomcat |
19:31.46 | *** join/#tomcat NOthsouth (~fsdfewewe@200.103.143.218) |
19:31.48 | javaman | 5 |
19:31.58 | linuxfreck | javaman: if you use mod_jk or jk2, you have to stop it at the apache level |
19:32.14 | linuxfreck | well, depends on the jk configuration |
19:32.18 | Marv|LG | he said port 8080 |
19:32.28 | Marv|LG | i assume he is not running apache |
19:32.32 | javaman | i am |
19:32.53 | NOthsouth | can anyone help me to configurate tomcat on linux debian sarge? I just download the tomcat 5.5.7 and extract the file on / try to run startup.sh, and i received this: http://localhost:8080 |
19:32.58 | NOthsouth | ops |
19:33.04 | Marv|LG | mod_jk issue then |
19:33.09 | NOthsouth | received this: osho:/jakarta-tomcat-5.5.7/bin# ./startup.sh |
19:33.09 | NOthsouth | Using CATALINA_BASE: /jakarta-tomcat-5.5.7 |
19:33.09 | NOthsouth | Using CATALINA_HOME: /jakarta-tomcat-5.5.7 |
19:33.09 | NOthsouth | Using CATALINA_TMPDIR: /jakarta-tomcat-5.5.7/temp |
19:33.09 | NOthsouth | Using JRE_HOME: /j2sdk1.4.2_07 |
19:35.35 | linuxfreck | NOthsouth: you probably want to ask a question |
19:36.34 | Marv|LG | mod_jk still does not let web-inf through on my servers |
19:37.59 | NOthsouth | HOw can I start tom cat? |
19:38.33 | linuxfreck | NOthsouth: exactly like that, note that you need the 1.4 compatibility package when using tomcat 5.5 and java 1.4 |
19:39.49 | linuxfreck | Marv|LG: as I said, it depends on the jk configuration, if you only *.jsp is handled by tomcat, it's an apache config issue |
19:41.00 | NOthsouth | 1.4 compatibility? |
19:41.07 | NOthsouth | and I don't have this? |
19:41.21 | linuxfreck | well if you didn't install it, you don't have it :) |
19:41.23 | *** join/#tomcat aiyaiyairc (~aleuaooou@c-67-161-177-74.hsd1.ca.comcast.net) |
19:41.32 | linuxfreck | you can download the package from the jakarta site |
19:43.22 | shadewind | does the binary tomcat have any deps? |
19:44.07 | Marv|LG | I have it doing * |
19:44.23 | Marv|LG | no i take that back |
19:44.24 | linuxfreck | shadewind: 5.5 only needs the java runtime, and the compatibility package if using java 1.4 or lower |
19:44.54 | shadewind | linuxfreck: sounds nice |
19:45.05 | shadewind | i'm tired of downloading all of the fricking deps |
19:45.57 | shadewind | i'm a poor dial-up user :( |
19:47.50 | Marv|LG | the world is java is depends unless you want to write it yourself |
20:04.22 | javaman | my web.xml isn't getting parsed at all |
20:04.36 | javaman | is there some sort of configuration I need to do? |
20:05.54 | Marv|LG | web.xml are parsed by default if they are placed in teh proper directory appname/WEB-INF/ |
20:06.21 | javaman | that's the way it's supposed to work |
20:06.31 | javaman | is there something i need to specify to declare that i have a new app? |
20:06.53 | Marv|LG | you should add it the server.xml but it is not a requirement |
20:06.55 | javaman | I have created a directory named jspbook/ in my webapps/ dir with WEB-INF/ as a subdir of jspbook/ |
20:07.18 | javaman | and it's just not getting parsed, and WEB-INF/ is viewable |
20:32.37 | *** join/#tomcat ronh (~ronh@130.166.243.22) |
20:33.23 | *** part/#tomcat ronh (~ronh@130.166.243.22) |
21:02.40 | Marv|LG | i am thinking |
21:02.44 | Marv|LG | dumber |
21:03.32 | Marv|LG | untar this, here how you create a SIMPLE webapps |
21:04.40 | Big_Bozz | Marv|LG: Do you think that is a wise idea? I mean, if they don't understand why they do certain things they can easily become an ever greater menace. (no offence to any beginners in the channel!!) |
21:05.17 | Marv|LG | disclaimer at the top: if you have no idea what this means, turn off your computer put it in a box and send it to me |
21:06.27 | Big_Bozz | :-) lol |
21:06.37 | Marv|LG | imagine all the computers i would get |
21:06.41 | Marv|LG | 1000! |
21:06.43 | Marv|LG | millions! |
21:06.52 | Big_Bozz | Marv|LG: You could start competing with Dell |
21:08.17 | Marv|LG | Marv's computers, full of virus/spyware from the users community! |
21:09.16 | Big_Bozz | Equivalent to Dell computers, pre-installed Windows XP |
21:09.50 | Marv|LG | and this is why i use a mac |
21:10.52 | deRost | If nobody explains the "certain things", how can one be expected to learn? Trust me, it's frustrating being a newb sometimes. All these new things, overwhelming at first, and all of the experienced people shake their head at you because it should be common knowledge. |
21:11.30 | Marv|LG | probably should be like |
21:11.39 | Marv|LG | tar zxf tomcatblah.tar.gz |
21:11.56 | Marv|LG | Reason: Extraction/Uncompression of the files etc |
21:13.48 | Big_Bozz | deRost: I'm not against explaining things to people - but some people just don't bother to do any reading themselves. I always love getting my hands on some new software just to experiment - it seems that most users aren't like that anymore?! |
21:15.27 | Marv|LG | some peoplea re not like that |
21:15.36 | Marv|LG | they want cut and dry |
21:16.15 | deRost | I know, so do I. And I usually try to figure it out myself first. Some people are too impatient I guess, or they only learn interactively. |
21:17.14 | deRost | Thing is, yer never gonna learn something unless someone, somewhere explains it to you - whether it's a website, a man page, source code comments, or IRC. |
21:17.34 | Big_Bozz | deRost: I think a problem can be there there is way too many tutorials and get started documents out there.. you can easily get confused, especially if the tutorial is for version x.y.z when you have version z.y.x and you are not sure why things are not working ,etc. |
21:17.49 | Big_Bozz | deRost: Absolutely! |
21:17.57 | deRost | true |
21:18.18 | Marv|LG | the joys of ereading |
21:21.28 | *** join/#tomcat bpalmer (~user@eddore.NMSU.Edu) |
21:21.55 | Marv|LG | i do not think there is a dummy guide to tomcat out there really |
21:22.05 | Marv|LG | and it would be eaiser to say go look here |
21:23.51 | deRost | "Tomcat for Dummies" |
21:24.24 | Marv|LG | i have another word for them but i am going to be nice |
21:26.58 | deRost | heh. |
21:27.29 | deRost | Well, I got tomcat5.5.7 working now. |
21:31.15 | *** join/#tomcat ohsix (ohsix@bc111222.bendcable.com) |
21:35.39 | Marv|LG | i got javaman working |
21:35.49 | Marv|LG | next! |
21:42.26 | deRost | How about a tomcat for dummies wiki? Something you can point newb to, and update with situation specific newb instructions. |
21:46.27 | Big_Bozz | I think that will probably be the best thing! that would be a really nice thing actually. |
22:07.21 | *** join/#tomcat shadewind (~shadewind@62.119.215.0) |
22:11.29 | *** join/#tomcat odysseus1 (~odysseus@ppp-82-135-4-204.mnet-online.de) |
22:11.44 | shadewind | i can't deploy my application in / context! |
22:12.32 | odysseus1 | i added a context config .xml to conf/Catalina/localhost in tomcat5.5.7, but after starting the server its gone ? |
22:14.14 | shadewind | tomcat keeps autodeploying my webapps... |
22:15.47 | odysseus1 | shadewind: i think there is an attribute autodeploy |
22:16.25 | shadewind | odysseus1: but i turned it odd |
22:16.28 | shadewind | *off |
22:16.48 | odysseus1 | hmm... |
22:19.52 | shadewind | i got rid of it |
22:20.00 | shadewind | but i can't deploy apps at all now |
22:21.10 | odysseus1 | has configuring datasources changed in 5.5.7 ? am i right i must place a context.xml under WEB-INF instead of appname.xml in conf/Catalina/localhost ? |
22:22.05 | odysseus1 | i meant META-INF instead of WEB-INF |
22:22.43 | shadewind | how should i specify the war file in the manager? |
22:24.37 | odysseus1 | i usually copy .war to webapps to deploy |
22:25.11 | shadewind | but i want to deploy in ROOT |
22:40.26 | shadewind | why do i get this all the time?: Message: |
22:40.26 | shadewind | FAIL - Failed to deploy application at context path / |
22:40.41 | shadewind | when i try to deploy a webapp |
23:04.37 | odysseus1 | tried to deploy the tomcat admin and tomcat would also delete admin.xml from conf/Catalina/localhost on starting |
23:04.50 | odysseus1 | the only .xml that stays there is manager |
23:47.21 | *** join/#tomcat ph0enix (~phoenix@201.3.140.175) |