01:44.05 | loquace | dodo |
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.48 | The | hello |
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.28 | TheEraser | Hello |
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.35 | bhaskar | i 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.43 | Big_Bozz | bhaskar: just chown the tomcat install directory to dspace:dspace -R |
10:44.28 | bhaskar | Big_Bozz: did that, but i am getting this error (access denied (java.util.PropertyPermission dspace.configuration read)_ |
10:45.12 | Big_Bozz | you starting it being the dspace user? |
10:47.41 | bhaskar | yes |
10:47.54 | bhaskar | edited /etc/init.d/tomcat |
10:48.16 | bhaskar | changed the user to dspace, ps aux | grep dspace confirms that |
10:48.55 | bhaskar | i 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.57 | Big_Bozz | nah, 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.12 | bhaskar | lemme check |
10:57.34 | bhaskar | Big_Bozz: ok, problem soplved, thanks a ton |
10:58.08 | bhaskar | Big_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.28 | jk|47 | ok i know it says read the newbie url |
11:01.44 | jk|47 | but i just want to find 2 quick answers |
11:01.49 | jk|47 | if any one can help |
11:02.27 | jk|47 | 1 i just want to know where do i put my servlets i.e on jrun you put them under web-inf/classes |
11:02.38 | jk|47 | in tomcat it doesnt have those dir sturcture |
11:02.56 | jk|47 | secondly 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.01 | a4akb | Hello room. |
12:14.57 | a4akb | loooooooo |
12:14.57 | a4akb | lyyyyyyyyy |
12:16.19 | *** part/#tomcat bhaskar (~bhaskie@210.7.77.145) |
13:28.41 | puff | Morning. |
13:59.58 | *** join/#tomcat Yuggly (~chatzilla@adsl-68-248-55-212.dsl.sfldmi.ameritech.net) |
14:02.06 | Yuggly | Is this where I come to get some help with a Tomcat installation? |
14:07.40 | Yuggly | Is there anyone here? |
14:13.53 | *** join/#tomcat a4akb (~chatzilla@dialpool-210-214-114-132.maa.sify.net) |
14:14.20 | a4akb | Hello room |
14:21.05 | Yuggly | is 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.11 | harpoon | hi |
15:02.39 | *** join/#tomcat gradzac (bmontgom@wsip-68-15-230-31.om.om.cox.net) |
15:02.57 | gradzac | can someone help with a question on sessions in tomcat 5.5? |
15:07.03 | harpoon | You schould ask your question, and then simple looks what happens |
15:10.34 | gradzac | ok, 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.50 | gradzac | the 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.26 | TheSteveMonkey | gradzac: but are you sure the actual session is changing? |
15:24.42 | gradzac | yes, I print out the id and it changes every time |
15:24.42 | TheSteveMonkey | put something in session and see if it is still there when you go to the next page |
15:24.58 | TheSteveMonkey | forget the id just check the actual session |
15:26.12 | gradzac | well 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.30 | gradzac | in 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.38 | b0rg | anyone 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.18 | b0rg | e.g what class is responsible for loading the webapp in server/webapps ? |
16:15.31 | b0rg | i want to make a custom servlet for reloading/stopping/removing webapps in a running container. |
16:15.35 | b0rg | using tomcat 5.0.x |
16:19.06 | *** join/#tomcat grove (~grove@062016146105.customer.alfanett.no) |
16:20.19 | b0rg | the 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.49 | b0rg | but 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.27 | gradzac | is there a way to make eclipse work with tomcat running on a remote server? |
16:59.33 | gradzac | using wtp |
17:01.47 | harpoon | gradzac: yes, there is a way |
17:02.01 | harpoon | Is known as NFS :) |
17:02.14 | gradzac | hmmm...other than that? |
17:02.18 | harpoon | AFS |
17:02.39 | gradzac | ok, I hoping for a different solution than a remote file system |
17:02.58 | gradzac | the eclipse docs seem to indicate this is possible, but I can't find how to set it up |
17:03.28 | harpoon | eeh |
17:03.31 | harpoon | ? |
17:04.15 | harpoon | Well find a way to mount your files from a remote machine |
17:05.46 | harpoon | But I do not think so |
17:06.04 | harpoon | If finding a way, tell it me please |
17:06.10 | gradzac | ok |
17:06.59 | harpoon | it sounds quite interesting |
17:11.12 | *** join/#tomcat KtK- (~krijnhoet@ktk.xs4all.nl) |
17:15.02 | a4akb_ | harpoon: Can you define a class for me? |
17:15.13 | gradzac | harpoon: will do |
17:15.33 | a4akb_ | Without referring to an object? |
17:18.32 | harpoon | defining a "class"? |
17:19.25 | harpoon | a4akb_: are you not able to define a class? |
17:20.27 | a4akb_ | I am looking for a definiton of a class that does not refer to an object. |
17:20.52 | a4akb_ | Definetly not looking for the " A class is a collection of Objects". and "An object is an instance of a class" definition. |
17:21.45 | harpoon | public class X{ |
17:21.51 | harpoon | public int i; |
17:22.03 | harpoon | public char c; |
17:22.06 | harpoon | } |
17:22.18 | harpoon | there is your class |
17:24.19 | a4akb_ | word definition not a code def : |
17:24.22 | a4akb_ | :) |
17:25.44 | harpoon | It is class only with elemental Datatypes and Methods which returns only elemental Datatypes |
17:28.31 | a4akb_ | ok |
17:28.41 | a4akb_ | Harpoon imagine a cube just the structure. having 6 faces. |
17:30.02 | a4akb_ | no defined dimentions but it just exists |
17:30.02 | a4akb_ | Will you call it a class or an object? |
17:31.27 | harpoon | pardon? |
17:32.56 | b0rg | a4akb_, a class that does not refer to an object ? |
17:33.51 | b0rg | a .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.07 | b0rg | us/is |
17:34.44 | a4akb_ | b0rg: you mean to say we cant define a class which has no objects? |
17:36.07 | b0rg | no? |
17:36.28 | b0rg | you can create as many classes you want _and_ make as many objects you want of those classes. |
17:36.30 | a4akb_ | 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.12 | a4akb_ | b0rg: So a class cannot be defined if it does not contain any objects? |
17:37.34 | b0rg | read the java tutorial dude |
17:37.35 | a4akb_ | Cant you declare a class with no objects? zero initialisations? |
17:37.51 | a4akb_ | I read it. |
17:37.53 | harpoon | If it is a Structure it is a class |
17:38.11 | b0rg | you can define classes without any methods and variables. its fine. |
17:38.28 | harpoon | But you know, that a class is simple a set of objects with common attributes? |
17:38.49 | a4akb_ | 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.11 | a4akb_ | true so the walled structure is a class or an object? |
17:39.34 | harpoon | the class is the description |
17:39.38 | b0rg | you can have "initial" values in that Structure, and to "change" those values you would need to have an object. |
17:39.42 | harpoon | like a blueprint |
17:39.47 | a4akb_ | Well if we go by the books, the moment we define the strcture it becomes an object. |
17:39.52 | a4akb_ | yes harpoon agreed |
17:40.10 | a4akb_ | as long as it stays in its logical structure its a class |
17:40.26 | harpoon | if you go by the books |
17:40.51 | a4akb_ | but am not defining it |
17:41.14 | harpoon | You get a object by instancing a class |
17:42.02 | a4akb_ | true |
17:42.26 | harpoon | If you want to define a class without any objects |
17:42.30 | harpoon | define all static |
17:42.45 | harpoon | then you have no object |
17:43.00 | a4akb_ | harpoon: Am talking in theoriotical terms not in terms of code |
17:43.26 | a4akb_ | yes or we can initiliase all objects to zero state |
17:44.01 | harpoon | I mean static as the word |
17:44.31 | a4akb_ | public void main () :) |
17:45.39 | harpoon | virtuell int main(int argc, char** argv) |
17:46.25 | a4akb_ | yep |
17:46.37 | a4akb_ | coming back to the structure example |
17:46.53 | a4akb_ | what would you call the structure? an object or a class? |
17:47.38 | harpoon | If the structure is exiting it is an object |
17:48.10 | a4akb_ | harpoon what about a physical room? |
17:48.25 | harpoon | if existing... |
17:48.38 | harpoon | room is a class |
17:48.49 | a4akb_ | now thats where it gets intersting |
17:48.53 | harpoon | a real existing room is a object |
17:49.12 | a4akb_ | the room exists in real with dimentions n objects in it but still its an object |
17:50.25 | harpoon | a4akb_: I am computer scientist added with some jurisprudence |
17:50.44 | a4akb_ | :) |
17:50.57 | harpoon | not an philosopher |
17:52.57 | harpoon | and yes. a room with tables and chairs in it is still a room |
17:53.51 | gradzac | harpoon: is there a howto for using eclipse and tomcat via NFS? |
17:54.29 | a4akb_ | oops is closely related to darvin's theory and classification |
17:54.47 | harpoon | You can have many rooms. All with other thinks in it |
17:54.55 | harpoon | but all are rooms |
17:55.10 | harpoon | gradzac: i don't know |
17:55.26 | harpoon | But i do not think so |
17:55.48 | b0rg | gradzac, why would you integrate eclipse with tomcat over the network? |
17:57.46 | harpoon | a4akb_: :) |
17:58.00 | a4akb_ | ;) |
17:58.30 | a4akb_ | harpoon: Darvin had gathered too much info on the island and he couldnt handle it so he defined classes and objects :) |
17:58.34 | a4akb_ | OOPS! |
17:58.35 | a4akb_ | :P |
17:59.19 | harpoon | look around. You will see much more commons |
17:59.27 | *** join/#tomcat _zao_ (~zao@port-195-158-173-154.dynamic.qsc.de) |
17:59.28 | a4akb_ | u bet :) |
17:59.35 | _zao_ | <PROTECTED> |
18:00.35 | a4akb_ | harpoon: Did you look into aspect programing? |
18:01.30 | harpoon | no, i did not |
18:02.25 | a4akb_ | cool |
18:02.28 | a4akb_ | its intersting |
18:02.37 | harpoon | maybe |
18:06.06 | a4akb_ | http://www.lisp-p.org/naop/ |
18:08.10 | a4akb_ | thats a bad link harpoon lemme look for something better |
18:08.49 | gradzac | b0rg: I want to be able to use eclipse to edit jsp and servlet source that is on another server |
18:09.05 | a4akb_ | 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.15 | a4akb_ | http://siliconvalley.internet.com/news/article.php/3106021 |
18:09.40 | harpoon | I know AOP |
18:18.34 | a4akb_ | cool |
18:22.40 | *** join/#tomcat beron (~medor@c-24-23-201-228.client.comcast.net) |
18:48.03 | a4akb_ | you have a 6day week harpoon ? |
18:48.40 | harpoon | no |
18:48.52 | harpoon | I'm a student |
18:49.02 | harpoon | 5 days |
18:49.23 | harpoon | But i have an transponder to open the door |
19:30.10 | a4akb_ | ok time to sleep |
19:30.12 | a4akb_ | tc all |
19:30.13 | a4akb_ | ibot yawn |
19:30.14 | ibot | *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.15 | a4akb_ | ibot night |
19:30.16 | ibot | gnight |
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.19 | beron | no |
20:31.00 | *** join/#tomcat TheSteveMonkey (~steve@wbar101.lax1-4.31.208.131.dsl-verizon.net) |
21:00.43 | b0rg | i'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.28 | b0rg | when 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.39 | beron | you have it in the wrong directory, read your tutorial again please |
21:08.18 | b0rg | ough, cant you say whats wrong ? :| read the docs one hundred times now. |
21:08.53 | beron | read one hundred more times :) |
21:09.13 | b0rg | the 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.35 | b0rg | and that just works. |
21:09.44 | b0rg | its magico |
21:10.57 | beron | yep, look at the servlet-examples and see where it is installed |
21:11.09 | b0rg | i've installed it in the exact same place |
21:11.50 | beron | no you have not, per what you said ..scroll back up |
21:12.44 | b0rg | i've made a servlet and put it in server/webapps folder, |
21:12.59 | b0rg | C:\java\jakarta-tomcat-5.0.28\server\webapps\monitor |
21:16.37 | b0rg | ouch, only 12kb left on my 15 gigg partition. |
21:24.52 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
21:25.26 | harpoon | re |
21:25.59 | *** join/#tomcat TheEraser (~llowejr@pcp0010709172pcs.manass01.va.comcast.net) |
21:26.22 | TheEraser | is there anyone here? |
21:26.53 | harpoon | should I answer on such a question? |
21:27.02 | harpoon | I don"t know |
21:27.35 | TheEraser | sorry I just have not seen any messages go by. |
21:28.35 | harpoon | :) |
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.49 | deeed | hi |
23:15.21 | deeed | i have a problem to use mysql with my jsp script and tomcat |
23:15.46 | deeed | i move my mysql driver to shared/lib |
23:16.03 | deeed | but i always have some problems :( |
23:16.30 | b0rg | tried in mywebapp/web-inf/lib ? |
23:16.42 | deeed | no |
23:16.56 | b0rg | what is the problem ? |
23:16.58 | deeed | but in the documentation they say shared/lib should work |
23:17.17 | deeed | http://calendriers.ath.cx/exemples/sql_test.jsp |
23:17.42 | b0rg | so its not classloading related. |
23:17.59 | deeed | what is it ? |
23:18.17 | b0rg | dunno |
23:18.22 | deeed | :( |
23:18.32 | b0rg | do you initialize the db conn in the jsp ? |
23:22.25 | b0rg | access denied (java.net.SocketPermission 192.168.0.100:3306 connect,resolve) |
23:22.43 | b0rg | seems like you may not have access to the mysql server or something, can that be right ? |
23:25.19 | deeed | yes i do |
23:25.29 | deeed | i use the same code in a .java and the connection is ok |
23:43.35 | b0rg | i would check my jsp once more. |
23:44.01 | b0rg | and check out db connection pool in jakarta commons |