00:01.04 | MHSL | rgsteele||work, where do you put your webapp? |
00:01.32 | MHSL | rgsteele||work, can you access your jsp/html? |
00:01.37 | martiner__33 | MHSL: what do u think about my exception? |
00:01.48 | MHSL | shit, wrong person, should be martiner_33 |
00:01.59 | MHSL | martiner_33, see the 2 questions above |
00:02.01 | martiner__33 | MHSL: I see |
00:02.07 | rgsteele||work | MHSL: I can't even start Tomcat |
00:02.18 | MHSL | rgsteele||work, nvm, wrong person |
00:02.30 | rgsteele||work | MHSL: No problem |
00:02.36 | martiner__33 | MHSL: my webapps is located in /usr/local/tomcat5.5/webapps |
00:02.46 | MHSL | martiner__33, under which directory? |
00:02.58 | martiner__33 | /usr/local/tomcat5.5/webapps |
00:03.07 | MHSL | martiner_33, it cannot just be under webapps dir, it should be under a subdirectory under webapps |
00:03.32 | martiner__33 | MHSL: it is exactly in directory /usr/local/tomcat5.5/webapps/final |
00:03.54 | MHSL | martiner__33, ok, so the context path is final, so you have WEB-INF/lib under final directory? |
00:04.34 | martiner__33 | MHSL: i can access my html normaly..than I put two variables and i press SEND button ...than I have this exception which I posted to u |
00:05.09 | martiner__33 | MHSL: ..yeah exactly... /WEB-INF/lib is under final |
00:05.30 | MHSL | martiner_33, check the permission and owner of the jar file, make sure tomcat can read it |
00:05.34 | martiner__33 | MHSL: inside lib is located stepchar.jar |
00:05.45 | martiner__33 | wait a second |
00:06.40 | martiner__33 | MHSL: -rwxrwxrw- 1 root plugdev 2889893 2008-05-06 00:03 stepchar.jar |
00:07.13 | martiner__33 | MHSL: I think it's OK ..or maybe I have to change owner and group? |
00:07.30 | *** join/#tomcat npm (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com) |
00:09.04 | martiner__33 | MHSL: how can I check that Tomcat can read this file? all permissions are ok I THINK . .. or not? |
00:09.35 | martiner__33 | access to this folder have everybody for read and that's OK |
00:11.40 | martiner__33 | MHSL: what do U think? |
00:13.25 | *** join/#tomcat np2 (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com) |
00:17.31 | MHSL | martiner_33, seems ok, is this the correct path? stepchar.stepcharMCRFactory |
00:18.13 | MHSL | martiner_33, also check that that class really exists inside the jar file |
00:19.53 | martiner__33 | MHSL: I think yes ... inside stepchar.jar are two directories .. META-INF and stepchar ... inside stepchar is located stepcharMCRFactory.class |
00:21.11 | martiner__33 | MHSL: in exception is written that tomcat cannot find this class file ... do u think may I put this class elsewhere? |
00:22.42 | martiner__33 | MHSL: is somewhere located log file which exactly could say how tomcat is working? I mean for what is he looking in real time |
00:29.20 | martiner__33 | MHSL: do u know another Tomcat IRC where I can post my problem as well? |
00:29.24 | MHSL | martiner_33, that's explained on tomcat doc |
00:29.31 | MHSL | martiner_33, gtg now, going to work |
00:30.00 | martiner__33 | MHSL: on tomcat doc? hmm in document? |
00:30.58 | martiner__33 | MHSL: what is gtg? |
00:41.20 | martiner__33 | MHSL: I will try to reconfigure web.xml file .. maybe this file has effect too |
00:41.57 | martiner__33 | http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html |
00:43.33 | martiner__33 | MHSL: thanks for help ..if u have any ideas please post me at martiner33@gmail.com ..thanks |
00:43.49 | martiner__33 | bye |
00:44.21 | martiner__33 | or u can post it hre |
00:44.24 | martiner__33 | here |
00:44.28 | martiner__33 | thanks |
00:56.22 | *** join/#tomcat clovisw (n=Clovis@189.26.170.179.adsl.gvt.net.br) |
01:15.01 | *** part/#tomcat clovisw (n=Clovis@189.26.170.179.adsl.gvt.net.br) |
01:15.21 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:53.25 | *** join/#tomcat mib_je4qzt (i=3edb8e92@gateway/web/ajax/mibbit.com/x-b1353c193b9e938e) |
01:53.34 | mib_je4qzt | hi |
01:54.02 | mib_je4qzt | can i make a servlet throw an exception ot be shown in an error page? |
01:54.23 | mib_je4qzt | doget/dopost only seem to throw ioexception |
01:55.59 | mib_je4qzt | hey, why the quit on me ? :) |
02:00.02 | mib_je4qzt | pfn: here? |
02:36.17 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-73-137.dsl.emhril.ameritech.net) |
02:43.38 | *** join/#tomcat randeep (n=randeep@74.12.148.254) |
03:14.34 | *** join/#tomcat acidjnk (n=have@ds87-230-56-32.dedicated.hosteurope.de) |
03:21.27 | *** join/#tomcat bennett (n=bennett@lavender.cime.net) |
05:27.27 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
05:54.59 | *** join/#tomcat deebo (i=globe@stonebay32.com) |
06:03.49 | *** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com) |
06:08.21 | *** join/#tomcat kjkoster5489 (n=kjkoster@ip188-184-173-82.adsl2.versatel.nl) |
06:37.28 | *** join/#tomcat uprooter (n=chatzill@bzq-79-180-151-60.red.bezeqint.net) |
06:46.03 | uprooter | Can someone please help me with a simple logging issue? I want to remove the date from the log file name (im using 6.0.16 on linux). any idea ? |
06:56.29 | kjkoster5489 | See conf/logging.properties |
06:57.33 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-73-137.dsl.emhril.ameritech.net) |
07:11.48 | *** join/#tomcat cami (n=miCamu@166-59.3-85.cust.bluewin.ch) |
07:14.49 | *** join/#tomcat Tuju_ (n=tuju@50.157.190.90.sta.estpak.ee) |
07:15.35 | Tuju | Exception in thread "main" java.lang.OutOfMemoryError: Java heap space" |
07:15.45 | Tuju | Mem: 2056144k total, 2032112k used, 24032k free, 1876k buffers |
07:15.45 | Tuju | Swap: 1958392k total, 746096k used, 1212296k free, 47408k cached |
07:15.54 | Tuju | howcome i run out of mem? |
07:23.03 | uprooter | Tuju: try the -Xmx parameter, like -Xmx1024M |
07:23.54 | Tuju | JAVA_OPTS=-XX:+UseParallelGC\ -Xmx1536M\ -Xms256M\ -server\ -XX:SurvivorRatio=8\ -XX:TargetSurvivorRatio=90\ -XX:MaxTenuringThres |
07:23.54 | Tuju | hold=31 |
07:24.16 | Tuju | so I already have such opts in place, have doubled them couple times without luck |
07:25.15 | uprooter | Tuju: Maybe you have a recursive call that runs forever or something like that.. donno. |
07:25.15 | Tuju | is there any way to monitor the process internals when it runs? |
07:25.46 | Tuju | the beauty is that i've not implemented that one... |
07:26.07 | kjkoster5489 | Tuju: Use jconsole to monitor your memory usage. |
07:26.26 | Tuju | is that cli tool? so i can run it with ssh... |
07:26.35 | kjkoster5489 | No, it uses RMI. |
07:26.41 | Tuju | ack |
07:26.46 | kjkoster5489 | *shrug* |
07:27.05 | kjkoster5489 | You can Google for "jconsole and firewalls" |
07:27.17 | kjkoster5489 | That will show how to run jconsole remote. |
07:27.30 | kjkoster5489 | Through an ssh tunnel even. |
07:27.37 | Tuju | okay, I'll try to look at it, thanks. |
07:28.05 | uprooter | kjkoster5489: I can't find any property for the log file name pattern in logging.properties |
07:28.50 | uprooter | it has prefix like juli.FileHandler.prefix = localhost. |
07:29.28 | kjkoster5489 | IIRC that file is a form of log4j configuration file, so you should be able to use regular log4j syntax. |
07:29.43 | uprooter | but im not using log4j |
07:29.52 | uprooter | do I have to? |
07:31.07 | kjkoster5489 | uprooter: Oh, but you are using log4j. ;) Tomcat uses it internally, but they renamed it. |
07:31.34 | kjkoster5489 | Just treat logging.properties as though it is a log4.properties. |
07:31.39 | uprooter | okay......... :) |
08:06.30 | uprooter | kjkoster5489: unfortunatly there is no attribute for the date. there's prefix, suffix, level, directory, but nothing I can find to disable the date in the file name |
08:07.51 | kjkoster5489 | Hmm. |
08:07.59 | kjkoster5489 | Dunno then, sorry. |
08:08.02 | cofeineSunshine | hello |
08:08.26 | uprooter | 10x anyway :) |
08:08.49 | cofeineSunshine | how to I reload app context with JPA(hibernate)? If i restart tomcat it works, but if I reload context, it fails with null pointer exception |
08:09.14 | cofeineSunshine | all this is because of I use Persistence.createEntityManagerFactory(); |
08:09.22 | cofeineSunshine | twice |
08:09.27 | cofeineSunshine | without restarting whole tomcat |
08:27.57 | *** join/#tomcat mauriez (i=maui@xs2.xs4all.nl) |
08:28.19 | cofeineSunshine | does registered ContextListener and requestFilter have same classloader? |
08:29.06 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-c89909b09b7941a3) |
08:49.20 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-0df8b1cdc5fd4588) |
09:26.35 | *** join/#tomcat ofca (n=ofca@h82-143-145-17-static.e-wro.net.pl) |
09:29.17 | ofca | Hello. How to change auto logout time on Tomcat 5.5 (java 1.6, OS Win XP)? |
09:33.51 | ofca | <session-timeout>1</session-timeout> <-- doesn't work |
09:34.39 | *** join/#tomcat cofeineSunshine1 (n=justinas@78-62-4-27.static.zebra.lt) |
09:40.15 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.static.zebra.lt) |
10:01.02 | *** join/#tomcat cami (n=miCamu@166-59.3-85.cust.bluewin.ch) |
10:07.27 | *** join/#tomcat fripette (n=fripette@germande-251.univ-mrs.fr) |
10:07.34 | fripette | hello |
10:07.45 | fripette | i have a simple question about a resultSet |
10:08.50 | fripette | is it a order list ? |
10:09.42 | fripette | the element at the location 1 in the RS is always the same element |
10:09.43 | fripette | ? |
10:48.47 | kjkoster5489 | fripette: That depends on the implementation of your database. In other words: no not rely on it for your code, but use ORDER BY instead. |
10:50.20 | fripette | when i said "order" is not when i fill my RS but when i parse it in the response page |
10:50.38 | cofeineSunshine | in response page you parse a list |
10:50.43 | cofeineSunshine | returned by query |
10:50.54 | cofeineSunshine | wich is defined with specific sql |
10:51.09 | cofeineSunshine | i think the order remains same |
11:02.21 | fripette | ok thanks !! |
11:22.04 | *** join/#tomcat cofeineSunshine (n=justinas@tavatievs.eu) |
11:28.38 | *** join/#tomcat cami (n=miCamu@166-59.3-85.cust.bluewin.ch) |
11:43.15 | *** join/#tomcat aton` (i=aton@unaffiliated/aton) |
12:04.50 | *** join/#tomcat Quiddity (n=steve@cpe-66-65-15-10.nyc.res.rr.com) |
12:29.16 | *** join/#tomcat elean (n=elean@156.17.18.42) |
12:50.06 | *** join/#tomcat awestwell (i=hidden-u@199.243.201.138) |
13:56.37 | *** join/#tomcat mib_spfy73 (i=3edb8e92@gateway/web/ajax/mibbit.com/x-ea7f17e4cd4aa44e) |
13:59.37 | *** join/#tomcat fripette (n=fripette@germande-251.univ-mrs.fr) |
14:09.35 | *** part/#tomcat ofca (n=ofca@h82-143-145-17-static.e-wro.net.pl) |
14:17.19 | *** join/#tomcat martiner (n=martiner@adsl-dyn247.78-99-69.t-com.sk) |
14:18.50 | *** join/#tomcat cami (n=miCamu@80-219-169-39.dclient.hispeed.ch) |
14:23.46 | mitcivs | How is the relative base (org/apache/commons/io/output/DeferredFileOutputStream) determined when a .WAR is deployed through Tomcat? |
14:24.16 | mitcivs | I am troubleshooting the reason why this class is not found despite including the commons-io package in WAR bukd |
14:24.19 | mitcivs | build* |
14:26.18 | elean | maybe you got conflicting jars |
14:27.00 | mitcivs | It is also worth mentioning that I am running both Tomcat5/jdk1.4 and Tomcat55/jdk1.5 on the same system |
14:27.10 | mitcivs | I hope that is not causing any confusion |
14:27.36 | mitcivs | elean : How would you advise troubleshooting the possibility of conflicting jars? |
14:27.51 | mitcivs | I am completely fresh to tomcat/java, and no next-to-nothing |
14:27.56 | mib_spfy73 | if i'm handling doGet and doPost in a servlet, any easy way to not handle any exception, and on error throw up the default tomcat error page ? |
14:27.57 | mitcivs | know* |
14:27.59 | elean | resolve the conflict ;) |
14:28.09 | mitcivs | yuk yuk |
14:28.18 | mib_spfy73 | mitcivs: just put the .jar inside tomcat\common\lib |
14:28.33 | elean | you can only have one jar loaded in tomcat |
14:28.40 | elean | i mean.. |
14:29.01 | elean | you can only have one version of a certain jar loaded in an application in tomcat |
14:29.16 | mitcivs | elean : That appears obvious to me |
14:29.22 | mitcivs | I am looking for more technical answers |
14:29.34 | mib_spfy73 | can anybody answer my question ? |
14:29.51 | *** join/#tomcat cofeineSunshine (n=justinas@tavatievs.eu) [NETSPLIT VICTIM] |
14:29.51 | *** join/#tomcat odin_ (n=dlm@host86-154-78-206.range86-154.btcentralplus.com) [NETSPLIT VICTIM] |
14:30.05 | elean | mitcivs: ? |
14:32.12 | mitcivs | Here is my stack trace: http://pastebin.com/d70cca6ca |
14:32.39 | *** join/#tomcat Infinito_ (n=argos@200-140-155-228.gnace701.dsl.brasiltelecom.net.br) |
14:33.02 | mitcivs | <PROTECTED> |
14:34.07 | elean | this jar is only there ? i mean it's not in app's libs ? |
14:34.29 | mitcivs | I have tried including it in the apps path: custom/WEB-INF/lib/ |
14:34.48 | mitcivs | when I unzip the built .WAR, the commons-io .jar has been included |
14:35.05 | mitcivs | but due to the nature of my error, apparently is still not referenced properly |
14:35.49 | mitcivs | I have since moved the location of .jar to tomcat server-side, thanks to the advice of mib_spfy73 |
14:36.13 | mitcivs | problem persists |
14:37.10 | mib_spfy73 | any idea on sane codig in servlets ? |
14:37.18 | mib_spfy73 | i hate the whole exceptin is a must in java :( |
14:37.31 | mitcivs | me? |
14:37.48 | mitcivs | I am java illiterate |
14:38.24 | elean | mitcivs: I have no clue what might be wrong then.. |
14:42.56 | mitcivs | How can I determine what version of jdk tomcat is referencing (tomcat55)? |
14:43.54 | mib_spfy73 | check your enviroment settings ? |
14:43.58 | mib_spfy73 | JAVA_HOME or somethingl ike that |
14:44.28 | mitcivs | mib_spfy73 : I have jdk1.4 and jdk1.5 installed on the same system, as I have a production tomcat5(using 1.4) and test tomcat55(using 1.5) installed |
14:44.49 | mitcivs | my environment versions are not relevant, as the builds are taking place on a seperate host from tomcat, running only 1.5 |
14:45.12 | mitcivs | I need to know (for sure) which version of jdk tomcat is using it ITS environment |
14:45.48 | mitcivs | When I build tomcat55, I specifically linked it against 1.5, but I would like to doublecheck that now |
14:46.15 | mib_spfy73 | i'm no expert again |
14:46.18 | mib_spfy73 | but i think when you run TC |
14:46.32 | pucko | it uses the java defined in JAVA_HOME or JRE_HOME enviroment variables afaik |
14:46.34 | mib_spfy73 | it looks for some variable settings (atleast in windows) for which jdk to use |
14:46.39 | mib_spfy73 | exactly |
14:46.44 | mitcivs | I see the info at the botom of the manager page |
14:46.48 | mitcivs | JVM Version: 1.5 |
14:46.50 | mitcivs | OK |
14:46.58 | pucko | or if not specified it uses the one first available in path |
14:47.08 | mitcivs | So I can rule out conflicting versions from acting as the probglem |
14:47.11 | mitcivs | problem |
14:47.46 | mitcivs | When doing manual builds, those variables are relevant |
14:48.14 | mib_spfy73 | pucko: you a java servlet developer ? |
14:49.36 | pucko | I develop some shit which I run on tomcat yes, but I don't develop tomcat container itself |
14:50.07 | mib_spfy73 | yeah |
14:50.24 | mib_spfy73 | i'm wondering, how to deal with exceptions in code |
14:50.26 | mib_spfy73 | i have a servlet for manging user interaction via doget/dopost |
14:51.11 | mib_spfy73 | but the code has lots of exceptions like sql errors and what not |
14:51.11 | mib_spfy73 | and i dont wanna handle it all |
14:51.27 | mib_spfy73 | i want it to dump all to error page, got it? |
14:52.26 | *** join/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |
14:53.02 | mib_spfy73 | pucko ? |
14:53.37 | pucko | you can create exection pages |
14:53.47 | pucko | jsp pages which are shown upon certain expections |
14:53.58 | mib_spfy73 | but how do i not catch them.. |
14:54.14 | mib_spfy73 | i mean a doget can only throw an ioexception |
14:54.53 | pucko | you can rethrow it as an ioexception |
14:55.22 | pucko | try { callmysql() } catch ( SQLException e ) { throw new IOException( e ); } |
14:55.25 | pucko | or something |
14:55.37 | mib_spfy73 | thats not very smart |
14:55.50 | mib_spfy73 | since a. it's not an ioexception b. it really uglifies my code with each sql access |
14:56.21 | pucko | then you have to figure out why you get exceptions from the sql access and fix them? |
14:56.56 | pucko | imo exceptions shouldn't happen unless there's an error |
14:57.05 | mib_spfy73 | http://www.mibbit.com/ best irc browser ever ! |
14:57.21 | mib_spfy73 | pucko: yes, but i need to make my code very verbose to handle all those sql exceptions |
14:57.38 | mib_spfy73 | even if there is no reason to get an exception i need to catch it every time |
15:02.58 | mib_spfy73 | got it ? |
15:03.00 | *** join/#tomcat andyt (n=andyt@THOMPSON-LAPTOP.ADMIN.SCPS.NYU.EDU) |
15:09.00 | *** part/#tomcat fripette (n=fripette@germande-251.univ-mrs.fr) |
15:13.02 | *** join/#tomcat melter (n=melter@dyn185.morrill-116.ndsu.NoDak.edu) |
15:16.52 | *** join/#tomcat melter (n=melter@dyn185.morrill-116.ndsu.NoDak.edu) |
15:50.51 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-73-137.dsl.emhril.ameritech.net) |
15:51.09 | *** join/#tomcat cami (n=miCamu@84-73-231-170.dclient.hispeed.ch) |
16:01.36 | *** join/#tomcat Techdeck` (n=TEchdeck@212.150.162.66) |
16:26.04 | *** join/#tomcat bennett (n=bennett@lavender.cime.net) |
17:03.00 | *** join/#tomcat jablko (n=jablko@216.113.200.202) |
17:26.42 | mib_spfy73 | anybody here ? |
17:33.15 | mib_spfy73 | come check out the new and cool web 2.0 irc client (no need for mirc / x-chat anymore), works even on webphones http://www.mibbit.com/ |
18:18.33 | *** join/#tomcat elean (n=elean@90-156-1-90.as.kn.pl) |
18:46.06 | *** join/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br) |
18:46.59 | clovisw | anyone have slow performance of tomcat with SMP machines? i know that this can be a problem of JVM, but i cant find a solution, any idea? |
18:48.26 | clovisw | appears that the individual threads actually move from processor to processor even though they are in a continuous running state and never sleep, this slow down the tomcat performance |
18:50.14 | clovisw | i'm using tomcat 6.0.14 with Sun JDK 1.5.0_15, and linux kernell 2.6.23.1-10 |
19:20.02 | pfn | well, sounds like that bug you pasted a link to a while ago would be your best way to track the problem |
19:22.21 | clovisw | pfn, the apache devs say that is solved |
19:22.35 | pfn | well, it doesn't sound like it |
19:22.39 | pfn | provide proof that it is occurring |
19:22.45 | pfn | or update to a latest java6 jvm |
19:23.47 | clovisw | pfn, i think that the problems with threads is related to this forum http://forum.java.sun.com/thread.jspa?forumID=37&threadID=514088 |
19:24.13 | clovisw | pfn, its something how java threads work on new linux kernel |
19:26.38 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-73-137.dsl.emhril.ameritech.net) |
19:26.55 | clovisw | maybe the reason is, that SMP load balancing made for new scheduler, slow down the JVM performance for threads |
19:30.17 | clovisw | how i find "This was fixed in rev 583650." ? where is that rev 583650? |
19:32.51 | pfn | look at svn |
19:33.12 | clovisw | pfn, have a link for browse? |
19:33.18 | pfn | svn.apache.org/viewvc |
19:34.03 | pfn | TOMCAT_6_0_14/ 557842 9 months remm - Tomcat 6.0.14. |
19:34.05 | pfn | TOMCAT_6_0_15/ 590549 6 months remm - 6.0.15 tag. Builds will be published tomorrow. |
19:34.14 | pfn | according to that, the fix would have been in 6.0.15 |
19:35.27 | clovisw | hum, then is better i migrate to 6.0.16, but that just solves the problem ta i get the CPU at 100% when use sendfile |
19:35.44 | pfn | shrugs |
19:35.47 | pfn | so it fixes sendfile |
19:35.53 | pfn | shrugs about the threads |
19:35.59 | pfn | downgrade to a pre-cfs kernel |
19:36.03 | pfn | and see if there is an improvement |
19:36.12 | clovisw | the other problem is about JVM thread versus new linux kernell scheduller |
19:45.03 | clovisw | pfn, what you mean abou pre-cfs kernel? its a specific version? |
20:05.03 | *** join/#tomcat gregor_k (n=a@stgt-4dbe0418.pool.einsundeins.de) |
20:09.56 | rgsteele||work | Is the Apache -> Tomcat via AJP equivalent to Apache -> Tomcat via mod_jk? |
20:10.21 | clovisw | yes |
20:10.27 | rgsteele||work | Thanks. |
20:16.50 | *** join/#tomcat Infinito_ (n=argos@200-140-155-228.gnace701.dsl.brasiltelecom.net.br) |
20:30.34 | *** join/#tomcat UnNaturalHigh (n=trent@S0106001310d37e85.cg.shawcable.net) |
20:38.03 | *** join/#tomcat elean (n=elean@90-156-1-90.as.kn.pl) |
20:38.49 | pfn | clovisw, of course, since you say it's related to the scheduler, it has switched recently |
20:40.46 | clovisw | i'm talking with linux people, its something about a clock definition on linux |
21:04.24 | *** join/#tomcat atpa8a (n=stfu@static-71-249-199-57.nycmny.east.verizon.net) |
21:04.31 | atpa8a | hello |
21:05.02 | atpa8a | looking for a solution to expose spring managed beans to another application within the same tomcat instance |
21:05.12 | atpa8a | preferably without remoting |
21:05.17 | atpa8a | any ideas? |
21:06.07 | pfn | no |
21:06.39 | pfn | you need to expose the beans at a higher level than your webapps |
21:06.51 | pfn | perhaps you can register your applicationcontext in jndi |
21:16.35 | atpa8a | that's what i was contemplating... |
21:16.54 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
21:17.00 | atpa8a | considering JCA as well |
21:20.13 | clovisw | pfn: :( no the guys on linux dont found the reason, isnt clock |
21:20.32 | clovisw | pfn: i will try with another JVM, like from BEA, IBM or Terracotta |
21:21.28 | clovisw | pfn: the big problem is this "cache line migration between the two CPUs" |
21:21.46 | clovisw | pfn: the solution is, mantain a thread on the CPU until that thread finish |
21:22.06 | clovisw | pfn: and i will try discover, how |
21:23.03 | atpa8a | can i even install a JCA into tomcat? |
21:23.30 | pfn | no |
21:23.37 | pfn | tomcat is a servlet container |
21:23.39 | pfn | nothing more |
21:23.57 | clovisw | i will go to home now, good night |
21:24.03 | atpa8a | hmm |
21:24.18 | *** part/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br) |
21:25.56 | atpa8a | not a good picture :P |
21:26.23 | atpa8a | but... if you think about it... JNDI is not a part of servlet specs |
21:27.08 | pfn | jndi is a requirement in the servlet spec |
21:27.19 | pfn | so tomcat implements it, minimally |
21:28.06 | atpa8a | hmm |
21:28.18 | pfn | no jndi means you can't properly implement servlets |
21:28.28 | atpa8a | so JNDI is my only option... |
21:28.59 | pfn | and that means a bunch of your application code will need to go into tomcat's shared/common classloader |
21:29.05 | pfn | it can't be in your webapp-private classloader |
21:29.28 | atpa8a | that's undesirable |
21:31.46 | pfn | then remoting is your only choice |
21:32.00 | atpa8a | my SAs will revolt :P |
21:33.15 | *** join/#tomcat Heikki123 (i=heikki@nappula.net) |
21:33.18 | Heikki123 | hi |
21:33.20 | atpa8a | thanks tho |
21:34.28 | Heikki123 | and good night :D |
21:36.56 | atpa8a | hm |
21:37.06 | atpa8a | can i deploy an ESB in tomcat? |
21:38.09 | pfn | no |
21:38.23 | pfn | you can embed activemq within tomcat |
21:38.30 | pfn | not quite an esb, but a "framework" for one |
21:38.35 | *** join/#tomcat cami (n=miCamu@77-57-95-230.dclient.hispeed.ch) |
21:39.15 | atpa8a | hmm |
21:39.42 | atpa8a | activemq is the only thing? |
21:39.57 | pfn | well, activemq is probably the most wellknown/supported of OSS MQ middleware |
21:40.43 | atpa8a | (btw i'm getting activemq shutdownhook exception when stopping tomcat with liferay installed) |
21:41.15 | atpa8a | is there a consolidation of what can be integrated with tomcat? |
21:41.33 | pfn | ? |
21:42.06 | atpa8a | like a list or something |
21:42.41 | *** join/#tomcat tieTYT (n=none@216.174.112.81) |
21:43.03 | tieTYT | hey i'm using tomcat 5.5.17. When I visit localhost:8080, there's a link for the manager, but clicking on it goes to a 404 |
21:43.12 | pfn | manager/html |
21:43.14 | tieTYT | i looked at the archives, and there's no manager webapp included in the webapps folder |
21:43.17 | pfn | manager is a broken link |
21:43.33 | tieTYT | it takes me to http://localhost:8080/manager/html |
21:43.58 | pfn | then you need to deploy the manager webapp |
21:44.10 | atpa8a | tieTYT: it's not in webapps folder |
21:44.10 | tieTYT | i need to add it myself? |
21:44.15 | tieTYT | oh |
21:44.29 | atpa8a | it's in server/webapps |
21:44.31 | tieTYT | ah i see it |
21:44.33 | tieTYT | so it's there |
21:44.34 | pfn | damned if I know, every bindist of tomcat I've ever gotten has the manager webapp |
21:44.44 | atpa8a | :P |
21:44.46 | pfn | doesn't use linux dists of tomcat |
21:44.48 | pfn | they're all broken |
21:44.55 | pfn | except, perhaps the tomcat rpm provided by jasonb |
21:45.06 | tieTYT | so why would manager/html go to a 404 |
21:45.06 | tieTYT | ? |
21:45.22 | pfn | it's not deployed for whatever reason |
21:45.25 | atpa8a | tieTYT: you configured authorization? |
21:45.29 | pfn | localhost.log may have the reason |
21:45.35 | atpa8a | 404 == not found? |
21:45.45 | atpa8a | is not a web person :P |
21:45.54 | pfn | or manager.log |
21:45.57 | pfn | 404 is notfound |
21:46.00 | tieTYT | i haven't done crap :P |
21:46.13 | tieTYT | i'm going to start fresh |
21:46.16 | tieTYT | see if that happens |
21:46.21 | tieTYT | this was copied from another hd |
21:46.34 | atpa8a | tieTYT: you might want to read on manager app in the docs - it describes how to config the auth |
21:46.55 | atpa8a | pfn: may be tomcat doesn't see the necessary roles by default and doesn't deploy? |
21:47.14 | pfn | that wouldn't be the case |
21:47.44 | atpa8a | didn't think so :P |
21:47.51 | tieTYT | naw, just my damn boss doing something to get rid of it |
21:47.58 | tieTYT | i installed from scratch and everything's cool again |
21:48.24 | tieTYT | do people usually disable it on production servers? |
21:48.58 | tieTYT | whatever, problem solved. Thanks |
21:53.11 | atpa8a | pfn: apparently servicemix integrates with tomcat too |
21:53.24 | atpa8a | http://servicemix.apache.org/tomcat-integration.html |
21:54.04 | atpa8a | just FYI... |
21:57.04 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
22:01.35 | tieTYT | do one of these ant tasks actually start tomcat for you? http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant |
22:02.07 | tieTYT | alternatively, i could use <exec> |
22:08.27 | *** join/#tomcat vinse_ (n=vinse_@208.253.223.146) |
22:10.31 | *** join/#tomcat clajo04 (n=clajo04@219.sub-75-195-156.myvzw.com) |
22:40.19 | *** part/#tomcat tieTYT (n=none@216.174.112.81) |
23:03.39 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
23:07.57 | *** join/#tomcat martiner (n=martiner@adsl-dyn6.91-127-11.t-com.sk) |
23:22.01 | *** join/#tomcat odin_ (n=dlm@host86-154-78-206.range86-154.btcentralplus.com) [NETSPLIT VICTIM] |