irclog2html for #tomcat on 20050219

01:44.05loquacedodo
04:14.33*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:41.34*** join/#tomcat The (~llowejr@pcp0010709172pcs.manass01.va.comcast.net)
04:43.48Thehello
04:43.56*** part/#tomcat The (~llowejr@pcp0010709172pcs.manass01.va.comcast.net)
04:45.13*** join/#tomcat TheEraser (~llowejr@pcp0010709172pcs.manass01.va.comcast.net)
04:45.28TheEraserHello
04:47.20*** join/#tomcat TheEraser (~llowejr@pcp0010709172pcs.manass01.va.comcast.net)
04:47.58*** part/#tomcat TheEraser (~llowejr@pcp0010709172pcs.manass01.va.comcast.net)
05:23.24*** join/#tomcat TheSteveMonkey (~steve@wbar101.lax1-4.31.208.131.dsl-verizon.net)
06:25.56*** join/#tomcat bugfixer2_ (~bugfixer2@42gis175.gulftel.com)
06:25.58*** join/#tomcat bugfixer_ (~bugfixer@42gis175.gulftel.com)
07:21.12*** join/#tomcat bhaskie` (~bhaskie@203.200.122.152)
07:25.02*** join/#tomcat joered (~chatter@213-156-52-102.fastres.net)
07:48.50*** join/#tomcat snowblink_ (~snowblink@wind.snowblink.co.uk)
08:01.40*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
08:36.49*** join/#tomcat bhaskar (~bhaskie@210.7.77.145)
09:30.43*** join/#tomcat valmont_ (~chrisholl@lsanca1-ar8-4-43-220-249.lsanca1.elnk.dsl.genuity.net)
10:40.35bhaskari installed tomcat as user tomcat and i need to install it as user dspace now. is there any way to do it without uninstalling ?
10:41.43Big_Bozzbhaskar: just chown the tomcat install directory to dspace:dspace -R
10:44.28bhaskarBig_Bozz:  did that, but i am getting this error (access denied (java.util.PropertyPermission dspace.configuration read)_
10:45.12Big_Bozzyou starting it being the dspace user?
10:47.41bhaskaryes
10:47.54bhaskaredited /etc/init.d/tomcat
10:48.16bhaskarchanged the user to dspace, ps aux | grep dspace confirms that
10:48.55bhaskari am running tomcat over ssl on port 8443. can it be for this?
10:48.58*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
10:49.57Big_Bozznah, I think there there is some directories that tomcat requires access to that you haven't changed yet.. not sure which ones.  If you start tomcat from the topcat directory (instead of the /etc/init.d/tomcat) does it give the same error?
10:50.12bhaskarlemme check
10:57.34bhaskarBig_Bozz:  ok, problem soplved, thanks a ton
10:58.08bhaskarBig_Bozz:  dspace could not write to a few logs, i changed the perms. thanks
11:00.50*** join/#tomcat jk|47 (~whowant@dsl-80-41-84-8.access.as9105.com)
11:01.28jk|47ok i know it says read the newbie url
11:01.44jk|47but i just want to find 2 quick answers
11:01.49jk|47if any one can help
11:02.27jk|471 i just want to know where do i put my servlets i.e on jrun you put them under web-inf/classes
11:02.38jk|47in tomcat it doesnt have those dir sturcture
11:02.56jk|47secondly i can access the servlet through given domain
12:09.00*** join/#tomcat a4akb (~chatzilla@dialpool-210-214-114-132.maa.sify.net)
12:10.01a4akbHello room.
12:14.57a4akbloooooooo
12:14.57a4akblyyyyyyyyy
12:16.19*** part/#tomcat bhaskar (~bhaskie@210.7.77.145)
13:28.41puffMorning.
13:59.58*** join/#tomcat Yuggly (~chatzilla@adsl-68-248-55-212.dsl.sfldmi.ameritech.net)
14:02.06YugglyIs this where I come to get some help with a Tomcat installation?
14:07.40YugglyIs there anyone here?
14:13.53*** join/#tomcat a4akb (~chatzilla@dialpool-210-214-114-132.maa.sify.net)
14:14.20a4akbHello room
14:21.05Yugglyis there any tomcat expert here?
14:22.13*** part/#tomcat Yuggly (~chatzilla@adsl-68-248-55-212.dsl.sfldmi.ameritech.net)
14:58.36*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
14:59.11harpoonhi
15:02.39*** join/#tomcat gradzac (bmontgom@wsip-68-15-230-31.om.om.cox.net)
15:02.57gradzaccan someone help with a question on sessions in tomcat 5.5?
15:07.03harpoonYou schould ask your question, and then simple looks what happens
15:10.34gradzacok, I've got tomcat 5.5 working using the jk connector with apache and I'm trying to write a jsp that uses sessions.  For some reason the session cookie is getting changed every time the page gets loaded.  I need some help to figure out why.
15:11.50gradzacthe problem happens with both firefox and explorer so I don't think it is a browser issue
15:12.57*** join/#tomcat littlesven (~sven@dsl-084-058-047-025.arcor-ip.net)
15:24.26TheSteveMonkeygradzac: but are you sure the actual session is changing?
15:24.42gradzacyes, I print out the id and it changes every time
15:24.42TheSteveMonkeyput something in session and see if it is still there when you go to the next page
15:24.58TheSteveMonkeyforget the id just check the actual session
15:26.12gradzacwell I'm using the session to store the style sheet to use with the page.  It will update and load the next load of the page with the new style sheet, but any reload after that goes back to my default
15:26.30gradzacin my code setting the default is based on the return of the session.isNew() method
16:12.13*** join/#tomcat b0rg (bjarne@cm-84.118.145.218.chello.no)
16:13.38b0rganyone ever made a servlet that implemented the org.apache.catalina.ContainerServlet interface? tried to implement it and put that servlet in the server/webapps folder with no success, won't invoke the setWrapper(Wrapper) method it defines, anyone know what class to look in to check for special ContainerServlet code ?
16:14.18b0rge.g what class is responsible for loading the webapp in server/webapps ?
16:15.31b0rgi want to make a custom servlet for reloading/stopping/removing webapps in a running container.
16:15.35b0rgusing tomcat 5.0.x
16:19.06*** join/#tomcat grove (~grove@062016146105.customer.alfanett.no)
16:20.19b0rgthe manager servlet handles the same stuff, just need to have another way of uploading servlets, i've used alot of code in that class.
16:20.49b0rgbut it seems like the container won't recognize/accept that my servlet is a ContainerServlet.
16:25.37*** join/#tomcat a4akb_ (~chatzilla@dialpool-210-214-114-132.maa.sify.net)
16:59.27gradzacis there a way to make eclipse work with tomcat running on a remote server?
16:59.33gradzacusing wtp
17:01.47harpoongradzac: yes, there is a way
17:02.01harpoonIs known as NFS :)
17:02.14gradzachmmm...other than that?
17:02.18harpoonAFS
17:02.39gradzacok, I hoping for a different solution than a remote file system
17:02.58gradzacthe eclipse docs seem to indicate this is possible, but I can't find how to set it up
17:03.28harpooneeh
17:03.31harpoon?
17:04.15harpoonWell find a way to mount your files from a remote machine
17:05.46harpoonBut I do not think so
17:06.04harpoonIf finding a way, tell it me please
17:06.10gradzacok
17:06.59harpoonit sounds quite interesting
17:11.12*** join/#tomcat KtK- (~krijnhoet@ktk.xs4all.nl)
17:15.02a4akb_harpoon: Can you define a class for me?
17:15.13gradzacharpoon: will do
17:15.33a4akb_Without referring to an object?
17:18.32harpoondefining a "class"?
17:19.25harpoona4akb_: are you not able to define a class?
17:20.27a4akb_I am looking for a definiton of a class that does not refer to an object.
17:20.52a4akb_Definetly not looking for the " A class is a collection of Objects". and "An object is an instance of a class" definition.
17:21.45harpoonpublic class X{
17:21.51harpoonpublic int i;
17:22.03harpoonpublic char c;
17:22.06harpoon}
17:22.18harpoonthere is your class
17:24.19a4akb_word definition not a code def :
17:24.22a4akb_:)
17:25.44harpoonIt is class only with elemental Datatypes and Methods which returns only elemental Datatypes
17:28.31a4akb_ok
17:28.41a4akb_Harpoon imagine a cube just the structure. having 6 faces.
17:30.02a4akb_no defined dimentions but it just exists
17:30.02a4akb_Will you call it a class or an object?
17:31.27harpoonpardon?
17:32.56b0rga4akb_, a class that does not refer to an object ?
17:33.51b0rga .class is just bytecode used to create instances of the .java class.  so a .class that does not refer to an object, us just a receipt for creating objects.
17:34.07b0rgus/is
17:34.44a4akb_b0rg: you mean to say we cant define a class which has no objects?
17:36.07b0rgno?
17:36.28b0rgyou can create as many classes you want _and_ make as many objects you want of those classes.
17:36.30a4akb_Harpoon a cube has 6faces. 4sides a top and a bottom. lets call it as a structure. but no doors windows anything. Can we cal this structure as a class? or will you call the structure an object?
17:37.12a4akb_b0rg: So a class cannot be defined if it does not contain any objects?
17:37.34b0rgread the java tutorial dude
17:37.35a4akb_Cant you declare a class with no objects? zero initialisations?
17:37.51a4akb_I read it.
17:37.53harpoonIf it is a Structure it is a class
17:38.11b0rgyou can define classes without any methods and variables. its fine.
17:38.28harpoonBut you know, that a class is simple a set of objects with common attributes?
17:38.49a4akb_but the structure may have attributes. Length breath height volume area surface area lateral surface area but we are not "defining" so its a class? Am i right here?
17:39.11a4akb_true so the walled structure is a class or an object?
17:39.34harpoonthe class is the description
17:39.38b0rgyou can have "initial" values in that Structure, and to "change" those values you would need to have an object.
17:39.42harpoonlike a blueprint
17:39.47a4akb_Well if we go by the books, the moment we define the strcture it becomes an object.
17:39.52a4akb_yes harpoon agreed
17:40.10a4akb_as long as it stays in its logical structure its a class
17:40.26harpoonif you go by the books
17:40.51a4akb_but am not defining it
17:41.14harpoonYou get a object by instancing a class
17:42.02a4akb_true
17:42.26harpoonIf you want to define a class without any objects
17:42.30harpoondefine all static
17:42.45harpoonthen you have no object
17:43.00a4akb_harpoon: Am talking in theoriotical terms not in terms of code
17:43.26a4akb_yes or we can initiliase all objects to zero state
17:44.01harpoonI mean static as the word
17:44.31a4akb_public void main () :)
17:45.39harpoonvirtuell int main(int argc, char** argv)
17:46.25a4akb_yep
17:46.37a4akb_coming back to the structure example
17:46.53a4akb_what would you call the structure? an object or a class?
17:47.38harpoonIf the structure is exiting it is an object
17:48.10a4akb_harpoon what about a physical room?
17:48.25harpoonif existing...
17:48.38harpoonroom is a class
17:48.49a4akb_now thats where it gets intersting
17:48.53harpoona real existing room is a object
17:49.12a4akb_the room exists in real with dimentions n objects in it but still its an object
17:50.25harpoona4akb_: I am computer scientist added with some  jurisprudence
17:50.44a4akb_:)
17:50.57harpoonnot an philosopher
17:52.57harpoonand yes. a room with tables and chairs in it is still a room
17:53.51gradzacharpoon: is there a howto for using eclipse and tomcat via NFS?
17:54.29a4akb_oops is closely related to darvin's theory and classification
17:54.47harpoonYou can have many rooms. All with other thinks in it
17:54.55harpoonbut all are rooms
17:55.10harpoongradzac: i don't know
17:55.26harpoonBut i do not think so
17:55.48b0rggradzac, why would you integrate eclipse with tomcat over the network?
17:57.46harpoona4akb_: :)
17:58.00a4akb_;)
17:58.30a4akb_harpoon: Darvin had gathered too much info on the island and he couldnt handle it so he defined classes and objects :)
17:58.34a4akb_OOPS!
17:58.35a4akb_:P
17:59.19harpoonlook around. You will see much more commons
17:59.27*** join/#tomcat _zao_ (~zao@port-195-158-173-154.dynamic.qsc.de)
17:59.28a4akb_u bet :)
17:59.35_zao_<PROTECTED>
18:00.35a4akb_harpoon: Did you look into aspect programing?
18:01.30harpoonno, i did not
18:02.25a4akb_cool
18:02.28a4akb_its intersting
18:02.37harpoonmaybe
18:06.06a4akb_http://www.lisp-p.org/naop/
18:08.10a4akb_thats a bad link harpoon lemme look for something better
18:08.49gradzacb0rg: I want to be able to use eclipse to edit jsp and servlet source that is on another server
18:09.05a4akb_It's called aspect-oriented programming (AOP), a less-than-radical idea that promises radical results for systems that use similar objects to interact with multiple classes -- called cross-cutting concerns. Examples of these concerns would be programs that need to handle logging, error handling, synchronization and optimization.
18:09.15a4akb_http://siliconvalley.internet.com/news/article.php/3106021
18:09.40harpoonI know AOP
18:18.34a4akb_cool
18:22.40*** join/#tomcat beron (~medor@c-24-23-201-228.client.comcast.net)
18:48.03a4akb_you have a 6day week harpoon ?
18:48.40harpoonno
18:48.52harpoonI'm a student
18:49.02harpoon5 days
18:49.23harpoonBut i have an transponder to open the door
19:30.10a4akb_ok time to sleep
19:30.12a4akb_tc all
19:30.13a4akb_ibot yawn
19:30.14ibot*YAWN*  I get *YAWN* tired just thinking of large boxes of unknown substances being poured into nooks and crannies and eaten by little monsters that like to kill fluffy bunnies and oh god I'm tired..
19:30.15a4akb_ibot night
19:30.16ibotgnight
19:40.10_zao_tracked problem down some: all my POSTs are correctly UTF-8-ified. but all GETs are interpreted as iso..
19:40.15_zao_anyone had that too?
19:41.19beronno
20:31.00*** join/#tomcat TheSteveMonkey (~steve@wbar101.lax1-4.31.208.131.dsl-verizon.net)
21:00.43b0rgi've made a servlet and put it in server/webapps folder, my servlet implements ContainerServlet but i get, java.lang.NoClassDefFoundError: org/apache/catalina/ContainerServlet
21:01.28b0rgwhen i try to access the servlet, that iface is in catalina.jar which resides in the server/lib folder, anyone have a tip how to fix this ?
21:03.39beronyou have it in the wrong directory, read your tutorial again please
21:08.18b0rgough, cant you say whats wrong ? :| read the docs one hundred times now.
21:08.53beronread one hundred more times :)
21:09.13b0rgthe thing i find weird is that the same type of servlet is the manager app, and it doesnt have any additional .jar's or classes in its lib\ and classes\ dirs.
21:09.35b0rgand that just works.
21:09.44b0rgits magico
21:10.57beronyep, look at the servlet-examples and see where it is installed
21:11.09b0rgi've installed it in the exact same place
21:11.50beronno you have not, per what you said ..scroll back up
21:12.44b0rgi've made a servlet and put it in server/webapps folder,
21:12.59b0rgC:\java\jakarta-tomcat-5.0.28\server\webapps\monitor
21:16.37b0rgouch, only 12kb left on my 15 gigg partition.
21:24.52*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
21:25.26harpoonre
21:25.59*** join/#tomcat TheEraser (~llowejr@pcp0010709172pcs.manass01.va.comcast.net)
21:26.22TheEraseris there anyone here?
21:26.53harpoonshould I answer on such a question?
21:27.02harpoonI don"t know
21:27.35TheErasersorry I just have not seen any messages go by.
21:28.35harpoon:)
21:31.47*** part/#tomcat TheEraser (~llowejr@pcp0010709172pcs.manass01.va.comcast.net)
23:02.38*** join/#tomcat b0rg (bjarne@cm-84.118.145.218.chello.no)
23:08.29*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
23:14.47*** join/#tomcat deeed (~dd@m85.net195-132-129.noos.fr)
23:14.49deeedhi
23:15.21deeedi have a problem to use mysql with my jsp script and tomcat
23:15.46deeedi move my mysql driver to shared/lib
23:16.03deeedbut i always have some problems :(
23:16.30b0rgtried in mywebapp/web-inf/lib ?
23:16.42deeedno
23:16.56b0rgwhat is the problem ?
23:16.58deeedbut in the documentation they say shared/lib should work
23:17.17deeedhttp://calendriers.ath.cx/exemples/sql_test.jsp
23:17.42b0rgso its not classloading related.
23:17.59deeedwhat is it ?
23:18.17b0rgdunno
23:18.22deeed:(
23:18.32b0rgdo you initialize the db conn in the jsp ?
23:22.25b0rgaccess denied (java.net.SocketPermission 192.168.0.100:3306 connect,resolve)
23:22.43b0rgseems like you may not have access to the mysql server or something, can that be right ?
23:25.19deeedyes i do
23:25.29deeedi use the same code in a .java and the connection is ok
23:43.35b0rgi would check my jsp once more.
23:44.01b0rgand check out db connection pool in jakarta commons

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.